//引入 useRoutes Hook，实现路由管理。
import { useRoutes } from 'react-router-dom'
//获取所有路由
import routes from '~react-pages'



const App = () => {
    return (
        <>
            {useRoutes(routes)}
        </>
    )
}

export default App;
